package net.aiform.template.service;

import java.util.UUID;

import net.aiform.template.pojo.Template;

public class TemplateServiceImpl implements TemplateService {

	@Override
	public Template getNewTemplate() {
		Template t = new Template();
		String id = UUID.randomUUID().toString().replaceAll("-", "");
		t.getIdentity().setCode(id);
		return t;
	}

}
